package org.bluedream.core.module.entity.depItem;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;
import org.bluedream.comm.base.OrgTreeEntity;

/**
 * @ClassName depItemUser
 * @Description TODO
 * @Author foxsand
 * @Data 2021-07-15 17:07
 * @Version
 */
@ToString(callSuper = true)
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName(value = "tDepItem")
public class DepItem extends OrgTreeEntity<DepItem> {
    private static final long serialVersionUID = 2939944419431098791L;

    public DepItem(String id) {
        this.id = id;
    }

    @TableField(value = "code")
    @Setter
    @Getter
    @NonNull
    private String treeCode;
}
